/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconCall: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'px'} height={size + 'px'} style={style} {...rest}>
      <path
        d="M233.376 146.144l-25.28 14.688A160 160 0 0 0 128.864 288.32c-9.056 133.312 48.32 266.528 169.856 398.976 117.248 127.776 251.584 197.376 401.856 207.36a180.352 180.352 0 0 0 174.208-101.184l13.312-27.456a96 96 0 0 0-37.216-124.416l-108.416-64.608a96 96 0 0 0-117.728 15.296l-17.504 17.888a32 32 0 0 1-38.592 5.44 387.328 387.328 0 0 1-95.68-75.552 469.056 469.056 0 0 1-60.224-80.64 32 32 0 0 1 8.896-42.08l1.376-0.96a88.544 88.544 0 0 0 20.8-122.432l-83.456-119.68a96 96 0 0 0-126.944-28.128zM307.84 210.88l83.424 119.68c7.68 10.976 5.12 26.08-5.76 33.92l-1.344 0.96a96 96 0 0 0-26.752 126.208 532.8 532.8 0 0 0 68.352 91.712c32 34.816 69.152 64.192 111.392 88a96 96 0 0 0 115.744-16.416l17.536-17.856a32 32 0 0 1 39.232-5.12l108.416 64.64a32 32 0 0 1 12.416 41.44l-13.344 27.488a116.352 116.352 0 0 1-112.352 65.28c-133.12-8.864-252.416-70.656-358.976-186.784-110.56-120.48-160.864-237.376-153.12-351.36a96 96 0 0 1 47.552-76.512l25.28-14.656a32 32 0 0 1 42.304 9.376z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </svg>
  );
};

IconCall.defaultProps = {
  size: 18,
};

export default IconCall;
